package com.ai.mall.vo.res;

import com.ai.mall.entity.OrderItemsEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class OrderVO {
    private Integer orderId;
    private String orderNumber;
    private Integer orderStatus;
    private String orderStatusLabel;
    private BigDecimal payAmount;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createdAt;

//    private String productName;
//    private BigDecimal price;
//    private int quantity;
    private List<OrderItemsEntity> orderItemList;
}
